* {
    margin: 0;
    padding: 0;
}

body {
    height: 1000px;
    background-color: #20202a;
}

/* 引入字体图标 */
@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?2hvbjs');
    src:  url('fonts/icomoon.eot?2hvbjs#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?2hvbjs') format('truetype'),
    url('fonts/icomoon.woff?2hvbjs') format('woff'),
    url('fonts/icomoon.svg?2hvbjs#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 总体内容 */
.content {
    position: relative;
    margin: 0 auto;
    height: 100%;
    width: 1000px;
    border-radius: 30px;
    /*overflow: hidden;*/
}


/* 侧边栏部分 */
.left_bar {
    position: absolute;
    left: 0;
    height: 100%;
    width: 25%;
    background-color: #1f1f27;
}

/* logo + 标题 */
.logo {
    height: 110px;
    width: 100%;
    border-radius: 50px;
}

.l_img {
    position: relative;
    background: url('/chapter12/Image/littleBoy_all.png') no-repeat;
    background-size: cover;
    height: 100px;
    width: 100px;
    border-radius: 50px;
}

.l_img h1 {
    position: absolute;
    top: 20%;
    left: 90px;
    font: 45px sans-serif;
    font-weight: bolder;
    color: #fff;
}

.l_img p {
    position: absolute;
    top: 80%;
    left: 100px;
    font: 10px sans-serif;
    font-weight: 500;
    width: 150px;
    color: rgba(255, 255, 255, 0.6);
}

.line {
    margin: 2% auto;
    width: 70%;
    border-radius: 50px;
    border-bottom: 1px #55556d solid;
}

.select {
    width: 100%;
    height: 50%;
}

.select li {
    width: 100%;
    height: 15%;
    border-radius: 30px;
    margin: 2% auto;
    line-height: 75px;
    cursor: pointer;
    transition: all 0.2s;
    list-style-type: none;
}

.select li:hover {
    background-color: #6556bf;
}

.select p {
    font-family: 'icomoon';
    display: inline-block;
    font-size: xx-large;
    color: #39383e;
    margin-left: 10%;
}

.select h4 {
    color: #2b2f3b;
    display: inline-block;
    font-size: xx-large;
    margin-left: 5%;
}

/*为主页选项卡添加选中效果*/
.selecting h4,
.selecting p {
    color: #bfd5e3;
}

/* 颜色：浅紫#6d5ed4 紫色#6556bf 黑色背景#20202a 深灰#242834 浅灰#2b2f3b 分割线浅灰#55556d 粉色#d6dbd9 橙色#d26f5c 浅蓝色#bfd5e3 浅肉色#d5c19c 字体#39383e 亮绿#2ecc71*/
/* 顶部部分 */
.top {
    position: absolute;
    right: 0;
    top: 0;
    height: 110px;
    width: 74%;
    border-radius: 30px;
    background-size: cover;
    background: url('/chapter12/Image/bg.jpg') no-repeat;
}

.top a {
    display: inline-block;
    position: absolute;
    text-decoration: none;
    color: #fff;
    background-color: #20202a;
    border-radius: 30px;
    width: 20%;
    height: 30%;
    text-align: center;
    line-height: 33px;
    top: 30%;
    left: 10%;
}

.top p {
    position: absolute;
    top: 60%;
    left: 5%;
    color: #39383e;
    font-size: x-small;
    font-weight: 700;
}

/* 主模块 */
.main {
    position: absolute;
    right: 0;
    top: 110px;
    margin-top: 2%;
    /*height: 90%;*/
    width: 74%;
    border-radius: 30px;
    background-color: #242834;
}

/* 表单选项 */
.main form {
    display: block;
    width: 95%;
    height: 190px;
    margin: 10px auto;
    background-color: #20202a;
    border-radius: 30px;
}

.main input {
    background-color: #20202a;
    border: #39383e 3px solid;
    width: 30%;
    height: 40px;
    display: inline-block;
    margin: 10px 5px 0 5px;
    color: #fff;
    font-weight: 800;
    outline: none;
    border-radius: 30px;
    text-align: center;
}

.main input[type="submit"] {
    height: 50px;
    font-size: large;
    border-color: #2ecc71;
}

.main input:hover,
.main input:focus,
.main select:hover {
    border-color: #2ecc71;
}

.main input[type="submit"]:hover {
    background-color: #2ecc71;
}

.main p {
    display: block;
    font-size: x-large;
    font-weight: 500;
    margin: 5px 0 5px 20px;
    color: #fff;
}

.main select {
    width: 30%;
    height: 30px;
    background-color: #20202a;
    border: #39383e 2px solid;
    outline: none;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    margin: 5px 5px;
}

/* 搜索结果 */
.result {
    width: 95%;
    /*height: 630px;*/
    background-color: #20202a;
    margin: 20px auto;
    border-radius: 30px;
    padding-bottom: 20px;
}

.result>p {
    display: block;
    border-bottom: #55556d 1px solid;
    margin: 0;
    padding: 10px;
}

.result_list li {
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
    border-bottom: #55556d .5px solid;
    cursor: pointer;
}

.result_list h2 {
    color: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: x-large;
    transition: all .3s;
}

.result_list>li:hover h2 {
    color: #6556bf;
}

#class {
    position: absolute;
    bottom: 5px;
    left: 10px;
    color: #55556d;
    font-size: x-small;
    font-weight: normal;
}

#language {
    position: absolute;
    bottom: 5px;
    left: 80px;
    color: #55556d;
    font-size: x-small;
    font-weight: normal;
}

#author {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #55556d;
    font-size: large;
    font-weight: normal;
}

#day {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: #55556d;
    font-size: x-small;
    font-weight: normal;
}

#popularity {
    position: absolute;
    bottom: 5px;
    right: 80px;
    color: #55556d;
    font-size: x-small;
    font-weight: normal;
}

#popularity span {
    font-family: icomoon;
    font-size: x-small;
    /*margin-right: 5px;*/
}

#introduction {
    font-size: small;
    position: absolute;
    top: 40px;
    left: 10px;
    display: block;
    width: 95%;
    height: 35px;
    margin: 0;
    overflow: hidden;
    font-size: x-small;
    font-weight: normal;
}